package com.hl.service;


import com.hl.domain.SearchExpert;
import com.hl.mapper.SearchExpertMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class SearchExpertService {
    @Autowired
    private SearchExpertMapper searchExpertMapper;

    public List<SearchExpert> searchExperts(String query) {
        return searchExpertMapper.searchExperts(query);
    }
}
